package com.dongjiantong.user.service;

import com.dongjiantong.mybatis.BaseService;
import com.dongjiantong.user.model.FarmUser;
import com.dongjiantong.user.model.Farms;
import com.dongjiantong.user.model.dtos.FarmsUserDto;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * @author cao
 * @create 2017-11-21 下午7:39
 **/

public interface FarmsUserService extends BaseService<FarmUser> {

    List<Long> getUserIdList(List<Long> farmIdList);
    Farms getFarmByUserId(Long userId);
}
